Skip to main content

DescribeLoadBalancerAttribute

Description

call the DescribeLoadBalancerAttribute to query the details of the specified load balancing instance.

Request Method

POST

Request Path

/apsara/route/Slb/DescribeLoadBalancerAttribute

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
LoadBalancerIdBODYstringYeslb-bp1b6c719dfa08ex****load balancing instance ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
Addressstring42.XX.XX.6the service address of the load balancing instance.
EndTimestring2999-09-08T16:00:00Zend time of load balancing instance.
ListenerPortsAndProtocalarray of listenerportandprotocalNo sample value for this parameter.listening ports and protocols.
BackendServerNo sample value for this parameter.No description for this parameter.
ListenerPortAndProtocolNo sample value for this parameter.No description for this parameter.
LoadBalancerIdstringlb-dhhd****load balancing instance ID.
ListenerPortsAndProtocolarray of listenerportandprotocolNo sample value for this parameter.List of ports and protocols used by the front end of the load balancing instance.
ListenerProtocolstringhttpsprotocol used by the front end of the load balancing instance.
BackendServersarray of backendserverNo sample value for this parameter.the list of backend servers of the load balancing instance.
LoadBalancerSpecstringslb.s2.smallthe performance specification of the load balancing instance.
ServerIdstringi-djghr2****backend server instance ID.
NetworkTypestringvpcthe network type of the load balancing instance.
Bandwidthinteger5The peak bandwidth of a public network instance that is billed by bandwidth.
ListenerProtocalstringhttpprotocol used by the front end of the load balancing instance.
ListenerPortslist80List of ports used by the front end of the load balancing instance.
MasterZoneIdstringcn-hangzhou-bthe primary zone ID of the load balancing instance.
ListenerPortinteger443the port used by the front end of the load balancing instance.
RequestIdstring365F4154-92F6-4AE4-92F8-7FF34B540710request ID.
CreateTimestring2017-08-31T02:49:05Zthe creation time of the load balancing instance.
ServerIpstring192.168.0.1backend server IP.
VSwitchIdstringvsw-255ecrwq5****the switch ID of the private network load balancing instance.
PayTypestringPrePayload balancing instance payment type, value PayOnDemand or PrePay.
SlaveZoneIdstringcn-hangzhou-dthe standby zone ID of the load balancing instance.
Weightinteger90the weight of the back-end server.
InternetChargeTypestringpaybybandwidthpublic network instance payment method. Value:paybybandwidth or paybytraffic. paybybandwidth: Billing by bandwidth. paybytraffic: Billing by traffic (default).
RegionIdAliasstringcn-qingdao-env17-d01the region alias to which the load balancing instance belongs.
LoadBalancerNamestringabcthe name of the load balancing instance.
Typestringecsbackend server type.
VpcIdstringvpc-25dvzy9f8****the vpc ID of the private network load balancing instance.
EndTimeStamplong32493801600000the end timestamp of the load balancing instance.
RegionIdstringcn-qingdao-env17-d01the region ID of the load balancing instance.
ListenerPortAndProtocalNo sample value for this parameter.No description for this parameter.
AddressTypestringinternetthe address type of the load balancing instance.
LoadBalancerStatusstringactiveload balancing instance status: inactive: the instance has stopped, and the instance listener in this state will no longer forward traffic. active: the instance is running, after the instance is created, the default status is active. locked: the instance is locked, and the instance is overdue or locked by alibaba cloud.
CreateTimeStamplong1504147745000load balancing instance creation timestamp.
AutoReleaseTimelong1513947075timestamp of release time.

Example

Successful Response example

{
"Address":"42.XX.XX.6",
"EndTime":"2999-09-08T16:00:00Z",
"ListenerPortsAndProtocal":"",
"BackendServer":"",
"ListenerPortAndProtocol":"",
"LoadBalancerId":"lb-dhhd****",
"ListenerPortsAndProtocol":"",
"ListenerProtocol":"https",
"BackendServers":"",
"LoadBalancerSpec":"slb.s2.small",
"ServerId":"i-djghr2****",
"NetworkType":"vpc",
"Bandwidth":"5",
"ListenerProtocal":"http",
"ListenerPorts":"80",
"MasterZoneId":"cn-hangzhou-b",
"ListenerPort":"443",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"CreateTime":"2017-08-31T02:49:05Z",
"ServerIp":"192.168.0.1",
"VSwitchId":"vsw-255ecrwq5****",
"PayType":"PrePay",
"SlaveZoneId":"cn-hangzhou-d",
"Weight":"90",
"InternetChargeType":"paybybandwidth",
"RegionIdAlias":"cn-qingdao-env17-d01",
"LoadBalancerName":"abc",
"Type":"ecs",
"VpcId":"vpc-25dvzy9f8****",
"EndTimeStamp":"32493801600000",
"RegionId":"cn-qingdao-env17-d01",
"ListenerPortAndProtocal":"",
"AddressType":"internet",
"LoadBalancerStatus":"active",
"CreateTimeStamp":"1504147745000",
"AutoReleaseTime":"1513947075"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}